package com.five.author.service;

import com.five.Page.Page;
import com.five.Page.PageList;
import com.five.pojo.Author;
import com.five.pojo.Chapter;

import java.util.List;

public interface AuthorService {

    void insert(Author author);

    void deleteById(Long id);

    void updateById(Author author);

    Author selectById(Long id);

    PageList<Author> selectByPage(Page<Author> page);

    List<Author> selectAll();

    void chapterAudit(List<Long> chapterIds);
}
